package com.pan.behavioral.visitor.pattern.part;

import com.pan.behavioral.visitor.pattern.Part;
import com.pan.behavioral.visitor.pattern.visit.FrameVisitor;

public class SizePart implements Part {
    @Override
    public void accept(FrameVisitor visitor) {
        visitor.getFrame().pack();
    }
}
